package com.consumer.user.service;

import com.common.consumer.service.ConsumerGenericService;
import com.consumer.user.config.FullLogConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * 类描述：数据字典的feign业务接口类
 *
 * @author linzf
 */
@FeignClient(value="USER-CENTER-PRODUCE",configuration = FullLogConfiguration.class,path = "/dict")
public interface ConsumerDictService extends ConsumerGenericService {

    /**
     * 功能描述：更新数据字典状态
     * @param entity
     * @return
     */
    @PostMapping("operateDict")
    Map<String,Object> operateDict(Map<String,Object> entity);

}
